﻿using System;
using Autodesk.Revit.DB;
using YJKLoopSearch;

namespace YJKElementFinish.ColumnSurface.DataDefinition
{
	public class OffsetReferenceInfo
	{
		public Pole2D ReferencePole { get; set; }

		public Curve OffsetNegativeBaseline { get; set; }

		public Curve OffsetPositiveBaseline { get; set; }

		public OffsetReferenceInfo(OffsetReferenceInfo info)
		{
			this.ReferencePole = info.ReferencePole;
			this.OffsetNegativeBaseline = info.OffsetNegativeBaseline;
			this.OffsetPositiveBaseline = info.OffsetPositiveBaseline;
		}

		public OffsetReferenceInfo(Pole2D referencePole, Curve offsetNegativeBaseline, Curve offsetPositiveBaseline)
		{
			this.ReferencePole = referencePole;
			this.OffsetNegativeBaseline = offsetNegativeBaseline;
			this.OffsetPositiveBaseline = offsetPositiveBaseline;
		}
	}
}
